/*******************************************************************************
 * Copyright (c) 2013 Zero Square LLC.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Zero Square LLC. Version 1
 * which accompanies this distribution
 ******************************************************************************/
package com.zsqr.dashboard.domain;
import javax.persistence.Id;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

//import com.zsqr.dashboard.commons.domain.BaseEntity;

/**
 * To fetch credit card data corresponding to a user e-mail ID
 * @author saurabh
 *
 */

@XmlRootElement
@Entity
@Table(name="usercc")
public class UserCardEntity implements Serializable {

        private static final long serialVersionUID = 9102546797346692474L;
		@Id
		private int id;
        private String userName;
		private String ccnumber;
		private String ccexpdate;
		
		public String getUserName() {
			return userName;
		}
		
		public String getCardNumber() {
			return ccnumber;
		}

		public void setCardNumber(String cardNumber) {
			this.ccnumber = cardNumber;
		}
		
		public void setUserName(String userName) {
			this.userName = userName;
		}
		
			
		public String getExpDate() {
			return ccexpdate;
		}
		
		public void setExpDate(String expDate) {
			this.ccexpdate = expDate;
		}

		public void setId(int id) {
			this.id = id;
		}

		public int getId() {
			return id;
		}	

}
